//
//  JXAddressNewsViewController.m
//  JXAddressApp
//
//  Created by huawei.zheng on 2018/10/27.
//  Copyright © 2018 zhhw_home. All rights reserved.
//

#import "JXAddressNewsViewController.h"
#import "Masonry.h"
#import "QMUITableView.h"
#import "JXNewsTableViewCell.h"

#define kCellIden @"JXNewsTableViewCell"

@interface JXAddressNewsViewController ()
<
QMUITableViewDelegate,
QMUITableViewDataSource
>


@property (nonatomic, strong) QMUITableView   *tableView;
@property (nonatomic, strong) NSArray         *models;

@end

@implementation JXAddressNewsViewController

- (instancetype)init
{
    if (self = [super init]) {
        self.webUrl = [NSURL URLWithString:@"http://www.wegis.net/demo/view/mobile/dist/index.html#/announcement"];
    }
    
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
//    [self initRootView];
}

- (void)initRootView
{

}


- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 2;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return 100;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    JXNewsTableViewCell *cell =  [_tableView dequeueReusableCellWithIdentifier:kCellIden];
    return cell;
}



@end
